
import {baseUrl} from '@/config.js'
const PATH = baseUrl

const INTERFACE = {
		captchaImage: 'captchaImage',
		login: 'login',
		getInfo: 'getInfo',
		getRouters: 'getRouters',
		baseGoodsList: 'base/goods/list',
		baseGoodsCategory: 'base/goodsCategory/listWithGoodsSkus',
		baseGoodsCategoryList: 'base/goodsCategory/list',
		
		// 根据userId查人员关联的机构
		basePersonRelations: 'base/personRelations/queryPersonRelateOrgsByUserId',
		// [定制]根据门店查询配货单
		schainAllocationShops: 'schain/allocationShops/selectAllocationDocumentsVosByShopId',
		// 配货单门店商品表-列表查询 schain:allocationShopGoods:selectAllocationShopGoodsVoList
		schainAllocationShopGoods: 'schain/allocationShopGoods/selectAllocationShopGoodsVoList',
		// [定制]新增要货单 schain:allocationDocuments:addYHD
		addYHD: 'schain/allocationDocuments/addYHD',
		// [扩展]配货单主表-详情查询 schain:allocationDocuments:selectAllocationDocumentsVoById
		selectAllocationDocumentsVoById: 'schain/allocationDocuments/selectAllocationDocumentsVoById',
		// 
		allocationShopGoods: 'schain/allocationShopGoods',
		// [批量新增]批量新增门店商品关联信息 schain:allocationShopGoods:addAllocationShopGoodsBatch
		addAllocationShopGoodsBatch: 'schain/allocationShopGoods/addAllocationShopGoodsBatch',
		// [扩展]库存-列表查询 stock:inventory:selectInventoryVoList
		selectInventoryVoList: 'stock/inventory/selectInventoryVoList',
		addFlow: 'stock/inventoryFlows/addFlow',
		
		// [商品签收]单个商品签收或拒签 schain:allocationShopGoods:singleSkuSign
		singleSkuSign: 'schain/allocationShopGoods/singleSkuSign',
		
		// [扩展]采购单-列表查询 schain:purchaseBills:selectPurchaseBillsVoList
		purchaseBills: 'schain/purchaseBills/selectPurchaseBillsVoList',
		
		// [扩展]采购单商品表-列表查询 schain:purchaseGoods:selectPurchaseGoodsVoList
		purchaseGoods: 'schain/purchaseGoods/selectPurchaseGoodsVoList',
		// [定制]批量新增商品 schain:purchaseGoods:addPurchaseGoodsBatch
		addPurchaseGoodsBatch: 'schain/purchaseGoods/addPurchaseGoodsBatch',
		
		// [扩展]采购单商品表-详情查询 schain:purchaseGoods:selectPurchaseGoodsVoById
		selectPurchaseGoodsVoById: 'schain/purchaseGoods/selectPurchaseGoodsVoById',
		// [通用]采购单商品表-全量更新 schain:purchaseGoods:editAllColumns
		editPurchaseGoodsAllColumns: 'schain/purchaseGoods/editPurchaseGoodsAllColumns',
		
		// [定制]计算非标应采份数 schain:purchaseGoods:calcUnStandardPurchaseCount
		calcUnStandardPurchaseCount: 'schain/purchaseGoods/calcUnStandardPurchaseCount',
		
		// [定制]单品采购完成 schain:purchaseGoods:finish
		purchaseGoodsFinish: 'schain/purchaseGoods/finish'
}

for (const key in INTERFACE) {
  INTERFACE[key] = `${PATH}${INTERFACE[key]}`
}
console.log(INTERFACE)

export default INTERFACE